﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TulingMember.Core
{
    /// <summary>
    /// 部门表
    /// </summary>
    public class cts_Department : DEntityTenant
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 父类编码
        /// </summary>
        public long ParentId { get; set; }

        /// <summary>
        /// 所有父级Id
        /// </summary>
        public string ParentIds { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [Comment("排序")]
        public int Sort { get; set; } = 99;
    }
}
